Creating Offline Web Applications in Macromedia Central
Geoffrey "gSOLO" Williams
Geoffrey Williams - Will Flash For Food ™
Personal Weblog
Table of Contents
Macromedia Central addresses a variety of needs for many Flash application developers. It works in environments where a connection to the Internet or network is not always be available. Consumers increasingly use mobile devices and applications, and Macromedia has followed suit. Central provides new application functionality that takes advantage of your user's network status by providing cache files for offline use and by detecting and responding to changes in a user's connection status. With the growing use of occasionally connected devices, the advantages and benefits of using connection-aware applications are many.
This article explains how Central can help you create applications that work in both offline and online environments. I will discuss some of the key elements in creating Central applications. In the last half of the article, I will explain how you can build a simple Central application that uses its caching capabilities for offline environments.
Requirements
These examples assume that you have a basic understanding of how the Macromedia Central workflow works. This includes how to set up your development environment and how to test, develop, and debug an application. Read Mike Chambers' Macromedia Central Development Quick Start Guide if you aren't familiar with these basics. To complete this tutorial, you must have or install the following software and files:
A web server (on your local machine or at a web host)
Macromedia Central
Macromedia Central SDK
Macromedia Flash MX 2004
Tutorials and sample files:
offline_files.zip
(40K)
Productivity is one benefit of using a connection-aware application. When users can still reference, analyze, and manipulate network data when no live network connection is available, they can work more efficiently. Convenience is another advantage. With current network-dependent applications, if a user loses a connection, the application stops working. If you make a portion of the data available offline to your user instead, it prevents the user from having to find a local hot spot to continue his/her business.
Consumers are already using occasionally connected devices. Several of these devices are already Flash Player-enabled; in turn, you can install and run Macromedia Central on these devices. The most notable occasionally connected device is the notebook computer. Although desktop computers still outsell Notebooks, Notebooks are on the rise; the entry-level price for getting a decent notebook computer is falling. With more powerful chipsets, longer battery life, and built-in wireless modems, notebooks have gained ground in the wired-desktop arena. With wireless access points and other unwired technologies, users can easily roam in and out of connected areas. PDAs, mobile phones, and other mobile devices are developing in similar ways, raising the awareness of web and desktop application developers.
About the author
A Macromedia aficionado and Team Macromedia member for Central, Geoffrey has been working with Macromedia products for the better part of the past five years. Within that time, he has learned and mastered Macromedia Flash, Dreamweaver, and ColdFusion; he also has experience with Contribute, HomeSite, ColdFusion Studio, Flash Communication Server, Flash Remoting, Fireworks, Freehand, Adobe Illustrator and Adobe Photoshop. He has extensive experience with Macromedia Flash ActionScript and Flash development practices, which he displays through his contributions at FlashKit.com.